package com.food.user.exception.receiveTimeConfigException;

public enum receiveConfigExceptionCode {
    RECEIVER_CONFIG_IS_NOT_EXIST(8001,"该商铺还没有接单时间配置表"),
    RECEIVER_CONFIG_IS_ALREADY_EXIST(8002,"该商铺接单时间配置表已存在"),
    RECEIVER_CONFIG_IS_NOT_YOURS(8003,"非法操作"),

    OPERATE_BUSY(8004,"操作频繁");


    Integer code;
    String message;

    receiveConfigExceptionCode(Integer code, String message){
        this.code=code;
        this.message=message;
    }

    public Integer getCode(){return code;}
    public String getMessage(){return message;}
}
